<?
//获取nav-itemed，控制侧边栏展开
if(!isset($_REQUEST['nav-itemed']) || $_REQUEST['nav-itemed'] == "index")
{$navi_index="layui-this";}

if(!isset($_REQUEST['nav-itemed']) || $_REQUEST['nav-itemed'] == "config")
{$navi_config="layui-this";}

if(!isset($_REQUEST['nav-itemed']) || $_REQUEST['nav-itemed'] == "user")
{$navi_user="layui-this";}


?>





<ul class="layui-nav"  >
  <li class="layui-nav-item <?echo $navi_index ?>" ><a href="/controller/extender/dashboard/view/index.php?nav-itemed=index"><i class="layui-icon">&#xe60f;</i>系统首页</a></li>







<?
//$userdepartment=select_one_line_all_items($table_Prefix."department","nid='".$_SESSION['departmentid']."'");
?>



	<li class="layui-nav-item <?echo $navi_user ?>">
        <a href="javascript:;"><i class="layui-icon">&#xe612;</i><?echo $_SESSION['username'];?> [ 需要补充部门] </a>
		<dl class="layui-nav-child"> <!-- 二级菜单 -->
      <dd><a href="<?echo $domain?>/controller/extender/user/view/detail-reset-pw.php?nav-itemed=user&nid=<?echo $_SESSION['nid'];?>"> 用户中心</a></dd>
      <dd><a href="/controller/loginout.php"> 注销登录</a></dd>
    </dl>
	</li>





</ul>


